package main

import (
	"time"
	"fmt"
)

func main() {
	// 定时器重置
	timer := time.NewTimer(time.Second * 5)
	timer.Reset(time.Second * 1)
	<-timer.C
	fmt.Println("end")

}
